package com.exam.itempool.model;

import java.util.HashSet;
import java.util.Set;

import com.exam.role.model.Teacher;

/**
 * Coursetype entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Coursetype implements java.io.Serializable
{

	// Fields

	private Integer id;
	private Teacher teacher;
	private String coursename;
	private Set questionSelects = new HashSet(0);
	private Set questionWordins = new HashSet(0);
	private Set questionOperations = new HashSet(0);
	private Set questionJudges = new HashSet(0);

	// Constructors

	/** default constructor */
	public Coursetype()
	{
	}

	/** full constructor */
	public Coursetype(Teacher teacher, String coursename, Set questionSelects, Set questionWordins, Set questionOperations, Set questionJudges)
	{
		this.teacher = teacher;
		this.coursename = coursename;
		this.questionSelects = questionSelects;
		this.questionWordins = questionWordins;
		this.questionOperations = questionOperations;
		this.questionJudges = questionJudges;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Teacher getTeacher()
	{
		return this.teacher;
	}

	public void setTeacher(Teacher teacher)
	{
		this.teacher = teacher;
	}

	public String getCoursename()
	{
		return this.coursename;
	}

	public void setCoursename(String coursename)
	{
		this.coursename = coursename;
	}

	public Set getQuestionSelects()
	{
		return this.questionSelects;
	}

	public void setQuestionSelects(Set questionSelects)
	{
		this.questionSelects = questionSelects;
	}

	public Set getQuestionWordins()
	{
		return this.questionWordins;
	}

	public void setQuestionWordins(Set questionWordins)
	{
		this.questionWordins = questionWordins;
	}

	public Set getQuestionOperations()
	{
		return this.questionOperations;
	}

	public void setQuestionOperations(Set questionOperations)
	{
		this.questionOperations = questionOperations;
	}

	public Set getQuestionJudges()
	{
		return this.questionJudges;
	}

	public void setQuestionJudges(Set questionJudges)
	{
		this.questionJudges = questionJudges;
	}

}